home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 90 / CD Actual 90.iso / Software3D / VirtualLight / VLight1.3win32.exe / Examples / Level1 / ImplicitSurf.vib < prev    next >
Encoding:
Text File  |  2002-10-07  |  562 b   |  19 lines

  1. // VirtuaLight VIB-Structure
  2.  
  3. ReadArchive "defshaders.vs"
  4.  
  5. Camera [ (-2,3,-4),(0,0,0),(0,1,0) FieldOfView 45 Format(320, 240) FrameAspectRatio 4/3 ]
  6.  
  7. Background '.098039, .098039, .392157'*0.9
  8.  
  9. PointLight [ (-50,50, -50) Intensity i ]
  10. PointLight [ (55,40, -40) Intensity i ]
  11. PointLight [ (-20,40, 55) Intensity i/4 LightingAttributes SPECULAR ]
  12.  
  13. Shape [
  14.  ImplicitSurface(-exp(-x*x-y*y-z*z)+(exp(-x*x*4-z*z*4)+exp(-y*y*4-z*z*4)+exp(-x*x*4-y*y*4))*0.5+0.175)
  15.  Bound((-1,-1,-1), (1,1,1))
  16.  primitive
  17. ]
  18.  
  19. Shape [ Disk((0,-1,0), (0,1,0), 500) ground ]